package com.gengzp.common.model.message.req;

import com.gengzp.common.document.annotations.ApiModel;
import com.gengzp.common.document.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;

/**
 * @ClassName EditTopicReq
 * @Description 编辑主题请求实体
 * @Author gengzp
 * @Date 2025/6/2 16:21
 */
@Data
@ApiModel(description = "编辑主题请求实体")
public class EditMqTopicReq implements Serializable {

    private static final Logger logger = LoggerFactory.getLogger(EditMqTopicReq.class);

    /**
     * 主题id
     */
    @NotNull(message = "主题id不能为空")
    @ApiModelProperty(value = "主题id", required = true)
    private Long topicId;

    /**
     * 主题名
     */
    @NotBlank(message = "主题名不能为空")
    @ApiModelProperty(value = "主题名", required = true)
    private String topicName;

    /**
     * 主题描述
     */
    @ApiModelProperty(value = "主题描述")
    private String topicDescription;

}
